package org.sample.test.basic;

import org.junit.Test;

/**
 * JUnit Expected Exception Test.
 * 
 * @author lbradisteanu
 *
 */
public class JunitTest2 {
 
	@Test(expected = ArithmeticException.class)  
	public void divisionWithException() {  
	  System.out.println("Expecting Arithmetic Exception... ");	
	  int i = 1/0;
	}  
 
}
